package mspbots.autotask.client.core.client;

import org.springframework.web.util.UriComponentsBuilder;

import java.net.URI;

/**
 * mspbots.core.autotask.core.common.ClientUtils
 *
 * @author <a href="https://github.com/vnobo">Alex bob</a>
 * @date Created by 2020/8/4
 */
public class ClientUtils {

    public static URI builderRequestUrl(String baseUrl, String path) {
        return UriComponentsBuilder.fromHttpUrl(baseUrl).path(path).build().toUri();
    }

}
